package com.yyz.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yyz.domain.Employee;

import javax.servlet.http.HttpServletRequest;

/**
 * @author yyz
 * @create 2023-07-11 22:01
 */
public interface EmployeeService{
    Employee login(Employee employee);

    void insert(Employee emp);

    IPage<Employee> pageList(Integer page, Integer pageSize,String name);

    void forbidden(HttpServletRequest request, Employee emp);

    Employee update(Long id);
}
